package dao;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;

import pojo.Grade;

import util.DBUtil;

public class GradeDao {
	public static final GradeDao DAO = new GradeDao();

	public List<Grade> show() {
		String sql = "SELECT * FROM `s_grade` ";
		List<Grade> list = DBUtil.query(sql, Grade.class);
		return list;

	}

}
